package com.sinodata.bsm.common.constants;

/**
 * <p>
 * Description: 
 * </p>
 *
 * @author liulibo
 * @version 1.0

 * <p>
 * History: 
 *
 * Date                     Author         Version     Description
 * ---------------------------------------------------------------------------------
 * 2012-5-8 PM 6:18:31      liulibo        1.0         To create
 * </p>
 *
 * @since 
 * @see     
 */
public interface ProtocolConstants {

    //SSHD服务密码认证
    public final static String SSHD_PASSWORD = "password";

    //SSHD服务公共密钥认证
    public final static String SSHD_PUBLICKEY = "publickey";

    //SSHD另外两种认证,暂时没用到
    public final static String SSHD_GSSAPI_KEYEX = "gssapi-keyex";
    public final static String SSHD_GSSAPI_MIC = "gssapi-with-mic";

    /**
     * 监控协议类型-主机类别，包含Telnet和SSH
     */
    public final static String TYPE_HOST = "HOST";

    /**
     * 监控协议类型-WMI协议
     */
    public final static String TYPE_WMI = "WMI";

    /**
     * 监控协议类型-JDBC协议
     */
    public final static String TYPE_JDBC = "JDBC";

    /**
     * 监控协议类型-JMX协议
     */
    public final static String TYPE_JMX = "JMX";

    /**
     * 监控协议类型-HTTP协议
     */
    public final static String TYPE_HTTP = "HTTP";

    /**
     * 监控协议类型-SNMP协议
     */
    public final static String TYPE_SNMP = "SNMP";

    /**
     * Linux/Unix 连接方式
     */
    public static final String TELNET = "telnet";
    public static final String SSH = "ssh";
    public static final String SSH2 = "ssh2";

}
